package com.zhazha.stand.entity;

public class User implements Entity {

	private int id;
	private String name;
	private int departmentId;
	private int grd;
	
	public User() {}
	public User(int id, String name, int departmentId, int grd) {
		this.setId(id);
		this.setName(name);
		this.setDepartmentId(departmentId);
		this.setGrd(grd);
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	public int getDepartmentId() {
		return departmentId;
	}
	
	public void setDepartmentId(int departmentId) {
		this.departmentId = departmentId;
	}
	
	public int getGrd() {
		return grd;
	}
	
	public void setGrd(int grd) {
		this.grd = grd;
	}
}
